home *** CD-ROM | disk | FTP | other *** search
/ Turnbull China Bikeride / Turnbull China Bikeride - Disc 1.iso / ARGONET / PD / FILER / Mac_Whack.ZIP / !MacWhack / docs / macwhack < prev   
Text File  |  1997-11-20  |  2KB  |  47 lines

  1. MACWHACK 1.1a (26/10/1997) MacBinary header remover
  2. by Philip Tsao (Tp12a@freenet.fsu.edu)
  3.  
  4.     Ever received a Microsoft Excel(TM) or other type of file from a
  5. colleague only to find that you can't open it on your IBM PC compatible?
  6. Did you delete the file in disgust and take out your frustrations on your
  7. colleague, only to find that this whole misunderstanding occured just
  8. because he/she (your colleague) created the file on a Macintosh? If this
  9. sort of thing happens often, this program is just what you need.
  10.  
  11.     I'm not in the business of hating Macs. I actually like them quite
  12. a bit. I think their filesystem is rather neat-- except no one else stores 
  13. files the way a Mac does. This buggers up file transfers, among other
  14. things. Sometimes, when a Mac file is copied to a non-Mac disk, a 128 byte
  15. MacBinary header is slapped onto the beginning of the file. This 128 byte 
  16. header is what annoys non-Mac computers.
  17.  
  18.     This program (the one you're reading the docs to) gets rid of the
  19. offending 128 byte header. The syntax is something like this:
  20.  
  21.         fooshell.1> macwhack infile outfile
  22.  
  23. I leave it to your intuition to conclude that <infile> is the file that
  24. contains the MacBinary header and <outfile> is the one that doesn't.
  25.  
  26. WARNING:
  27.     Use this program at your own risk. I disclaim any responsibility
  28. for what this program does/doesn't do. This program was the result of a
  29. good afternoon's worth of hacking. If you feel uncomfortable about running
  30. software that was thrown together in one afternoon, delete this program 
  31. now.
  32.  
  33.     This program is so good at removing 128 byte MacBinary headers that
  34. it'll remove the first 128 bytes from _ANY_ file, whether it be a Macintosh
  35. file or your payroll database. Using this program unwisely can result in
  36. loss of data. Again, I am not responsible for any of it.
  37.  
  38.     This program probably contains bugs. This program is already TOO
  39. SLOW and TOO HUGE. As a result, I've removed all type-checking code. (I've
  40. put some sanity-checks back in since the initial release) That means if you 
  41. screw up the syntax, your computer could explode. If your computer explodes, 
  42. I am not responsible. (notice a pattern?)
  43.  
  44. NOTICE:
  45. Microsoft Excel(TM) is a registered trademark of Microsoft, Corp.
  46. IBM PC is a registered trademark of International Business Machines, Inc.
  47. Macintosh is a registered trademark of Apple Computer, Inc.